<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!doctype html>
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>任务反馈页</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<jsp:include page="/WEB-INF/views/common.jsp"></jsp:include>
	<script type="text/javascript" src="<%=path%>/resources/script/proms/task/task_detail.js"></script>

  </head>
  
  <body>
    <div class="easyui-layout" fit="true">
    	<div data-options="region:'north', title:'任务详情'"   style="height:330px">
    		<input id="id" name="id" type="hidden" value="${task.id }" />
    		<input id="type" name="type" type="hidden" value="${type }" />
    		<%-- <input id="isAudit" type="hidden" value="${isAudit }" /> --%>
    		<input id="fundSources" name="fundSources" type="hidden" value="${task.fundSources }" />
    		<input id="isTaskPlan" name="isTaskPlan" type="hidden" value="${isTaskPlan }" />
    		<table class="edit-table">
				<tr>
					<th>所属指标：</th>
					<td>
						<input type="hidden" id="projectIndexId" name="projectIndexId" value="${task.projectIndexId }"/>
						<label>${task.projectIndexName }</label>
					</td>
					<th>指标全路径：</th>
					<td>
						<label>${task.projectIndex.path }</label>
					</td>
				</tr>
				<tr>
					<th>任务主题：</th>
					<td>
						<label>${task.name }</label>
					</td>
					<th>计划完成时间段：</th>
					<td><label>${task.startTime }</label>～<label>${task.endTime }</label></td>
				</tr>
				<tr>
					<th>资金来源</th>
					<td><label id="fundsources_label"></label></td>
					<th>任务进度</th>
					<td><label id="progress_label"></label><input type="hidden" id="progress" value="${task.progress }"/></td>
				</tr>
				<tr><th>计划使用资金：</th>
					<td>
						<label>￥${task.planAmount }</label>
						<input type="hidden" id="planAmount" name="planAmount" value="${task.planAmount }"/>
					</td>
					<th>实际使用资金</th>
					<td><label id="factAmount_label"></label><input type="hidden" id="factAmount" value="${task.factAmount }"/></td>
				</tr>
				<tr>
					<th>相关参与人:</th>
					<td colspan="3">${task.taskActorNames }</td>
				</tr>
				<tr>
					<th>任务描述:</th>
					<td colspan="3"><textarea id="remark" name="remark" readonly="readonly" disabled="disabled" style="width: 98%;height: 60px;">${task.remark }</textarea></td>
				</tr>
				<tr>
					<th>预佐证材料:</th>
					<td colspan="3"><div id="_fileupload"></div></td>
				</tr>
			</table>
    	</div>
    	<div data-options="region:'center', title:'计划安排'">
    		<iframe id="work_plan" name="work_plan" src="" style="width: 100%; height: 99%;" scrolling=no marginwidth="0" framespacing="0" marginheight="0" frameborder="no"></iframe>
  		</div>
   	</div>
  </body>
</html>

